package com.lingyue.commons.enums;

/**
 * Created by IntelliJ IDEA.
 *
 * @Description: TODO
 * @Author: BaiJinhua
 * @Date: 2019/12/18 14:06
 * @See: com.lingyue.commons.enums
 * @Version: 1.0
 * Copyright: Copyright (c) 2019
 */
public enum LevelEnum implements CommEnum<Integer> {

    SYS_ADMIN(0,"sys_admin","运维管理员"),
    ADMINISTRATOR(0,"administrator","经销商管理员"),
    MANAGER(1,"manager","一级经理"),
    COMMISSIONER(2,"commissioner","二级专员"),
    DATA(-1, "data", "数据方")
    ;
    LevelEnum(Integer code,String content,String desc){
        this.code = code;
        this.content = content;
        this.desc = desc;
    }
    private Integer code;

    private String content;

    private String desc;

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getContent() {
        return this.content;
    }

    public String getDesc(){
        return this.desc;
    }
}
